package cn.david.org.service;

import cn.david.basic.util.PageList;
import cn.david.org.domain.Employee;
import cn.david.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {

    List<Employee> queryAll();

    void add(Employee employee);

    void update(Employee employee);

    void delete(Long id);

    Employee queryById(Long id);

    PageList<Employee> queryPage(EmployeeQuery query);
}
